import Layout from '../../views/layout/Layout'

export const constantRouterMap = {
  // name: 'auth',
  // path: '/auth',
  // component: Layout,
  // meta: { title: '焦炭塔', icon: 'user', roles: ['system', 'admin'] },
  // children: [
  //   {
  //     name: 'monitor',
  //     path: '/auth/monitor',
  //     redirect: '/auth/monitor/index',
  //     meta: { title: '实时监测', icon: 'user', roles: ['system', 'admin'] },
  //     children: [
  //       {
  //         name: 'monitorPage',
  //         path: 'index',
  //         component: () => import('@/views/modules/auth/monitor/index'),
  //         meta: { title: '实时监测', icon: 'user', roles: ['system', 'admin'] }
  //       }
  //     ]
  //   }
  // ]

  name: 'auth',
  path: '/diagnosis',
  redirect: '/diagnosis/index',
  component: Layout,
  meta: { title: '焦炭塔', icon: 'user', roles: ['system', 'admin'] },
  children: [
    {
      path: 'diagnosis',
      name: 'diagnosis',
      component: () => import('@/views/modules/diagnosis/index'),
      meta: { title: '状态诊断', icon: 'international', roles: ['system', 'admin'] }
    }
  ]
}

export default constantRouterMap

